<?php
namespace Common\Base;

class TablesBase
{
    public static $tables = array(
        /*权限*/
        'acl_admin'=>'acl_admin',
        'acl_group'=>'acl_group',
        'acl_node'=>'acl_node',
        /*通用*/
        'common_article'=>'common_article',
        'common_article_category'=>'common_article_category',
        'common_zone'=>'common_zone',
        'common_config'=>'common_config',
    );

    public static function getTableName($t = '')
    {
        return isset(self::$tables[$t]) ? self::$tables[$t] : null;
    }
}